package test.hxy.mongoSchoolSimple.model;

import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

public class Department {
	
	private Object id;
	private String name;
	private Integer type;
	private Integer headcount;
	private List<Leader> leaders;
	@Field("sub-department")
	private String subdepartment[];
	private Integer vacancies;
	public Object getId() {
		return id;
	}
	public void setId(Object id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getHeadcount() {
		return headcount;
	}
	public void setHeadcount(Integer headcount) {
		this.headcount = headcount;
	}
	public List<Leader> getLeaders() {
		return leaders;
	}
	public void setLeaders(List<Leader> leaders) {
		this.leaders = leaders;
	}
	public String[] getSubdepartment() {
		return subdepartment;
	}
	public void setSubdepartment(String[] subdepartment) {
		this.subdepartment = subdepartment;
	}
	public Integer getVacancies() {
		return vacancies;
	}
	public void setVacancies(Integer vacancies) {
		this.vacancies = vacancies;
	}
	
	
}
